/**
  * 描述：
  * 
  * @Author ${author}
  * @mail ${mail}
  * @Date ${date}
  */
import fetch from '@/utils/fetch';

const lntegralSetApi = {
    getPageList (params) {
        return fetch({
            url: '/api/gcComminBag',
            method: 'get',
            params: params
        });
    },
    getDetail (data) {
        return fetch({
            url: '/api/gcComminBag/queryOne/'+data,
            method: 'get',
        });
    },
    add (data) {
        return fetch({
            url: '/api/gcComminBag/addGc',
            method: 'post',
            data: data
        });
    },
    update (data) {
        return fetch({
            url: '/api/gcComminBag',
            method: 'put',
            data: data
        });
    },
    del (id) {
        return fetch({
            url: '/api/gcComminBag/'+id,
            method: 'delete',
        });
    },
	getDown(id){
		return fetch({
			url: 'api/sysOrg/'+id,
			method: 'get',
		})
	},
};
export default lntegralSetApi;
